Push Service Interface
Functions
Link copied to clipboard
Injects the given push message into Mobile SDK, so that SDK will inform the related services.
Link copied to clipboard
The listener that must be implemented to receive the callbacks.
Link copied to clipboard
public abstract void subscribeToPushNotifications(String packageName, String deviceToken, String realm, PushSubscriptionCallback callback)
This method registers application to push notifications.
Link copied to clipboard
public abstract void unsubscribeFromPushNotifications(String subscriptionID, PushUnsubscriptionCallback callback)
This method removes the push notification subscription.
Link copied to clipboard
public abstract void updatePushSubscription(String packageName, String deviceToken, String subscriptionID, PushUpdateSubscriptionCallback callback)
This method updates the push subscription with a new device token.